<?php
/**
 * Template:
 * Beinhaltet Ausgabemethoden fuer die Verwendung in einem Template
 *
 * @author		Joachim Ruf
 * @copyright	Copyright (c) 2003-2013 Loresoft Software (http://www.loresoft.de)
 * @license		http://yapary.loresoft.de/lizenzbedingungen     New BSD License
 *
 * */


Class Yapary_MVC_SimpleMVC_Template
{
	protected $registry;
	private $view;
	private	$arrRoute = array();
	private $oSql;



	/**
	* @desc Yapary_MVC_SimpleMVC_Template
	* Benoetigt ob_start() und ob_end_clean() um die Objekt-Initialisierung
	*/
	function __construct (	Yapary_MVC_SimpleMVC_IView $_oView,
							$_path,
							array &$_arrRoute,
							$_templateName
	) {
		$this->registry			= Yapary_MVC_SimpleMVC_Registry::getInstance();

		$this->view				= $_oView;
		$this->arrRoute			= $_arrRoute;

//		ob_start();
		include_once($_path.'template/'.$_templateName);
// 		$content = ob_get_contents();
// 		ob_end_clean();
//		return $content;
	}


}



?>
